const app = {
  state: {
    sidebar: false// 菜单栏伸缩状态
  },
  mutations: {
    TOGGLE_SIDEBAR: (state) => {
      state.sidebar = !state.sidebar
    }
  }
}

// 导出
export default app
